﻿namespace OneWorks.Web.Common.BaiDu
{
    public enum BaiduLbsType
    {
        PlaceApIv2Search,
        PlaceApIv2Detail,
        PlaceApIv2Eventsearch,
        PlaceApIv2Eventdetail,
        GeocodingApIv2,
        GeocodingApIv2Reverse,
        Translate,
        Geoconv
    }

    public enum Status
    {
        /// <summary>
        /// 正常	
        /// </summary>
        Ok = 0,
        /// <summary>
        /// 请求参数非法	
        /// </summary>
        ParameterInvalid = 2,
        /// <summary>
        /// 权限校验失败
        /// </summary>
        VerifyFailure = 3,
        /// <summary>
        /// 配额校验失败
        /// </summary>
        QuotaFailure = 4,
        /// <summary>
        /// 不存在或者非法	
        /// </summary>
        AkFailure = 5,
        /// <summary>
        /// Transform 内部错误
        /// </summary>
        InternalError = 1,
        /// <summary>
        /// from非法
        /// </summary>
        FromIllegal = 21,
        /// <summary>
        /// to非法
        /// </summary>
        ToIllegal = 22,
        /// <summary>
        /// coords非法
        /// </summary>
        CoordsIllegal = 24,
        /// <summary>
        /// coords个数非法，超过限制
        /// </summary>        
        CoordsCountIllegal = 25

    }
}
